import { BaseViewModel, TextListener, speechApi, RobotApi, emojiPlayerModel } from 'orionos-eve-core';

export class BigeyesViewModel extends BaseViewModel {
    private mTimer: any
    public constructor(){
        super('bigeyes')
    }
    public onStart() {
        
    }
    public onStop() {
        if(this.mTimer){
            clearTimeout(this.mTimer)
        }
    }
    public onHidden() {
        // this.mTimer = setTimeout(():void=>{
        //     this.hideEmojiPlayer()
        // }, 2000)
    }
    public todemo(){
        this._apiTrigger(1004, '')
    }
    public totask(){
        this._apiTrigger(1006, '')
    }
    public tobook(){
        this._apiTrigger(1006, '')

    }
}